package com.asman.vr.dto

import androidx.annotation.Keep
import java.io.Serializable


//商品详情
@Keep
data class GoodsDetailData(
    val ad: Any?,
    val attrs: List<Attr>?,
    val brandId: Int?,
    val brandLogo: String?,
    val brandName: String?,
    val categoryId: Int?,
    val code: String?,
    val couponTemplateVO: Any?,
    val details: String?,
    val guarantee: List<String>?,
    val guaranteeDetails: Any?,
    val highPrice: Any?,
    val id: Int?,
    val image: String?,
    val images: List<String>?,
    val inspection: List<String>?,
    val logisticsfee: Int?,
    val logisticsfeeStr: String?,
    val lowPrice: Any?,
    val model3D: Any?,
    val name: String?,
    val productionCycle: Int?,
    val salesAttrs: List<SalesAttr>?,
    val selectedSkuId: Int?,
    val setupfee: Int?,
    val setupfeeStr: String?,
    val skus: List<Sku>?,
    val status: Int?,
    val subtitle: String?,
    val version: Int?
) : Serializable

@Keep
data class Attr(
    val custom: Boolean?,
    val id: Int?,
    val name: String?,
    val singleValue: Boolean?,
    val values: List<String>?
) : Serializable

@Keep
data class SalesAttr(
    val custom: Boolean?,
    val id: Int?,
    val name: String?,
    val singleValue: Boolean?,
    val values: List<String>?
) : Serializable

@Keep
data class Sku(
    val goodsId: Int?,
    val id: Int?,
    val image: String?,
    val packingAmount: Int?,
    val price: Int?,
    val salesAttr: List<SalesAttrX>?,
    val status: Int?,
    val stock: Int?,
    val tagPrice: Int?,
    val version: Int?
) : Serializable

@Keep
data class SalesAttrX(
    val custom: Boolean?,
    val id: Int?,
    val name: String?,
    val singleValue: Boolean?,
    val values: List<String>?
) : Serializable